package sss;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import struts.action.Action;
import struts.form.ActionForm;

public class SAction implements Action {

	@Override
	public String execute(HttpServletRequest request, ActionForm form,
			Map<String, String> actionForward) {
		
		String url = "shibai";
		SForm myform = (SForm)form;
		if(myform.getName().equals("yxk")){
			url = "chenggong";
		}
		return actionForward.get(url);
	}

}
